package com.xuedian.xuanxuan.web.service;


import com.xuedian.xuanxuan.core.generic.GenericService;
import com.xuedian.xuanxuan.web.model.User;

public interface MUserService extends GenericService<User, Long> {

    /**
     * 根据第三方登录ID查询用户
     * 
     * @param openId
     * @return
     */
    User selectByOpenId(String openId, Integer type);

    /**
     * 根据userId查询用户
     *
     * @param userId
     * @return
     */
    User selectInfo(Long userId);

}
